package com.zeh.service.Impl;

import com.zeh.mapper.FunctionMapper;
import com.zeh.pojo.Function;
import com.zeh.pojo.vo.AllFunctionVo;
import com.zeh.service.FunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zeh
 * @Date: 2021/06/23/9:21
 * @Description:
 */
@Service
public class FunctionServiceImpl  implements FunctionService {
    @Autowired
    FunctionMapper functionMapper;

    @Override
    public List<Function> selectAFunction() {
//        List<Function> functions = functionMapper.selectList(null);
        List<Function> functions = functionMapper.selectAFunction();
        return functions;
    }
}
